package com.yunxi.model.otd;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 月预测CIR
 * </p>
 *
 * @author XUQI
 * @since 2019-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_otd_order_cir_month")
@ApiModel(value="OtdOrderCirMonth对象", description="月预测CIR")
public class OtdOrderCirMonth implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ORDER_ID", type = IdType.UUID)
    private String orderId;

    @ApiModelProperty(value = "产品编码")
    @TableField("PRODUCT_CODE")
    private String productCode;

    @ApiModelProperty(value = "选装包")
    @TableField("CUSTOM_PACK_CODE")
    private String customPackCode;

    @ApiModelProperty(value = "整车描述")
    @TableField("CAR_NAME")
    private String carName;

    @ApiModelProperty(value = "数量")
    @TableField("ORDER_NUM")
    private Integer orderNum;

    @ApiModelProperty(value = "需求日期")
    @TableField("DEMAND_DATE")
    private Date demandDate;

    @ApiModelProperty(value = "工厂")
    @TableField("WORKS")
    private String works;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY", fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "操作人")
    @TableField(value = "UPDATE_BY", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "操作时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "版本号")
    @TableField("VERSION")
    @Version
    private Integer version;


}
